//引入数据库
const mysql = require('mysql');
//创建数据库对象
let pool = mysql.createPool({
    host: '127.0.0.1',
    post: '3306',
    user: 'root',
    password: '',
    database: 'xz',
    connectionLimit: 15
});
module.exports = pool;